package com.linsir.auth.dto;

import com.linsir.auth.modules.test.entity.Identity;
import com.linsir.core.binding.annotation.BindField;
import lombok.Data;

/**
 * @ClassName : TDto
 * @Description :
 * @Author : Linsir
 * @Date: 2023-12-23 01:18
 */

@Data
public class TDto {

    private String name;

    @BindField(entity = Identity.class,field = "netName",condition = "identity.id = 1")
    private String wm;

    public TDto(String name)
    {
        this.name = name;
    }
}
